import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import store from '../../store'
import { Form,FormItem } from 'element-ui'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(Form)
Vue.use(FormItem)
// 统一设置服务器地址
axios.defaults.baseURL = 'http://127.0.0.1:8080'
Vue.prototype.axios = axios

new Vue({
  store,
  render: h => h(App)
}).$mount('#app')
